package io.renren.modules.bus.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 会员管理
 * @Author lililiang
 * @Date 2019-02-23 15:07:23
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("会员管理实体")
@TableName("tb_member")
public class MemberEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
	@TableId
	private Integer id;
	@ApiModelProperty("卡号")
	private String cardNo;
	@ApiModelProperty("手机号")
	private String mobile;
	@ApiModelProperty("姓名")
	private String memberName;
	@ApiModelProperty("性别(1 男；2 女）")
	private Integer sex;
	@ApiModelProperty("当前积分")
	private Integer currentPoint;
	@ApiModelProperty("累计消费金额")
	private BigDecimal monetary;
	@ApiModelProperty("店铺id")
	private Integer storeId;
	@ApiModelProperty("家庭住址")
	private String familyAddress;
	@ApiModelProperty("Email")
	private String email;
	@ApiModelProperty("QQ")
	private String qq;
	@ApiModelProperty("会员等级")
	private Integer level;
	@ApiModelProperty("折扣比例")
	private Integer discount;
	@ApiModelProperty("创建人")
	private Integer author;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("修改人")
	private Integer modifier;
	@ApiModelProperty("修改时间")
	private Date modifyTime;
	@ApiModelProperty("状态，1有效，0无效，-1删除")
	private Integer status;

	@ApiModelProperty("性别展示")
	private String sexName;
	@ApiModelProperty("店铺名称")
	private String storeName;


}
